//
//  PreviewController.m
//  3DTouchDemo
//
//  Created by kuaikuaizuche on 15/12/18.
//  Copyright © 2015年 JanzTam. All rights reserved.
//

#import "PreviewController.h"

@interface PreviewController ()

@end

@implementation PreviewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIWebView * wb = [[UIWebView alloc] initWithFrame:self.view.frame];
    NSURLRequest * request = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://weibo.com/61073715"]];
    [wb loadRequest:request];
    wb.allowsLinkPreview = YES;
    [self.view addSubview:wb];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
